Skip to content

feat: add Solana (SOL) support#58

Merged
embarquech merged 6 commits into
mainfrom
feature/implementing_solana
Jul 14, 2026
Merged

feat: add Solana (SOL) support#58
embarquech merged 6 commits into
mainfrom
feature/implementing_solana

Conversation

@YanNaingWinn

Copy link
Copy Markdown
Contributor

Add native SOL send and account info for Solana, using the card's Ed25519 key. Transaction building and serialization are delegated to solders; the card signs the raw message bytes and the 64-byte signature is grafted onto the message to produce the broadcastable transaction.

  • wallet/solana.py: Ed25519 address derivation (base58 of the raw key), JSON-RPC client (balance/blockhash/broadcast), transfer-message building and transaction assembly, and SolanaValidator
  • command/solana.py: "solana send" and "solana config" commands
  • command/options/solana.py: argument parsing, address and network validation
  • card/info.py: show SOL address and balance in the info table
  • config/enums: default "solana" config section and SolanaNetwork enum
  • register the solana command in the factory

Bump cryptnox-sdk-py to >=1.0.5 (Ed25519 key derivation/signing) and add solders>=0.27.0. Ignore *.egg-info/.

Add native SOL send and account info for Solana, using the card's
Ed25519 key. Transaction building and serialization are delegated to
solders; the card signs the raw message bytes and the 64-byte signature
is grafted onto the message to produce the broadcastable transaction.

- wallet/solana.py: Ed25519 address derivation (base58 of the raw key),
  JSON-RPC client (balance/blockhash/broadcast), transfer-message
  building and transaction assembly, and SolanaValidator
- command/solana.py: "solana send" and "solana config" commands
- command/options/solana.py: argument parsing, address and network
  validation
- card/info.py: show SOL address and balance in the info table
- config/enums: default "solana" config section and SolanaNetwork enum
- register the solana command in the factory

Bump cryptnox-sdk-py to >=1.0.5 (Ed25519 key derivation/signing) and
add solders>=0.27.0. Ignore *.egg-info/.
@YanNaingWinn
YanNaingWinn requested a review from embarquech July 1, 2026 15:03
…verification, network/amount/balance safety, config fixes)
Comment thread cryptnox_cli/wallet/solana.py Fixed
YanNaingWinn and others added 4 commits July 14, 2026 21:14
  Add the Solana command and wallet backend (send/transaction flow,
  address validation), enum/config/factory wiring, and CLI options;
  repoint BTC mainnet to blockstream.info and add base58/solders deps.
  Align signing with SDK v2.0 SIGN, with amount bounds,
  confirm-before-sign, and network/endpoint handling. Drop the dead
  old_key local in config.py so flake8 passes without a workflow
  ignore.
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@embarquech
embarquech merged commit 7b99be9 into main Jul 14, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants